.PHONY: test clean distclean

test: master.beam
	erl -pz ../../ect/ebin/ -pz ./. -noshell -s master dotest_sh -s erlang halt 

clean:
	rm -f *.beam
	rm -f *.ectgen.erl

distclean:
	rm -f *~

master.beam: master.erl ../../ect/config.hrl
	erlc -I../.. master.erl
